part of _;

extension on MainPage_Home_Category {
  void controller_initData() {
    yPost<ShouYeFLModel>(IFinal.Jkids.getHomeFLData, null, (isSuccess, results, code, message) {
      if (isSuccess) {
        models = results!;
        setState(() {});
      } else
        yRun(() => controller_initData(), delay: 2000);
    }, onModel: (map) => ShouYeFLModel.fromJson(map), showProgress: false, cacheEnable: true);
  }
}
